package com.briup;

import java.sql.Date;
import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.List;

// Customer 类定义
class Customer {
    private int id;
    private String name;
    private int age;
    private Date birthday;
    private Timestamp registerTime;

    // 构造器、getter 和 setter 省略，根据需要添加

    // 示例构造器
    public Customer(int id, String name, int age, Date birthday, Timestamp registerTime) {
        this.id = id;
        this.name = name;
        this.age = age;
        this.birthday = birthday;
        this.registerTime = registerTime;
    }

    // 示例 getter 方法
    public int getId() {
        return id;
    }

    public String getName() {
        return name;
    }

    public int getAge() {
        return age;
    }

    public Date getBirthday() {
        return birthday;
    }

    public Timestamp getRegisterTime() {
        return registerTime;
    }
    @Override
    public String toString() {
        return "Customer[" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", age=" + age +
                ", birthday=" + birthday +
                ", registerTime=" + registerTime +
                ']';
    }
}
